package com.example.demo.mapper;

import com.example.demo.bean.Barrage;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/*
 * @Author:大力王
 * @Date:2024/3/31-31-4:23
 * 开始了
 */
@Mapper
public interface BarrageMapper {

    @Insert("insert into barrage(content,sender,sendTime) values(#{content},#{sender},#{sendTime})")
    Integer AddBarrage(Barrage barrage);
}
